//C11:11.18:compback.c -- strcmp() return valunclue.
#include <stdio.h>
#include <string.h>

int main(void)
{
	printf("strcmp(\" A\", \" A\") is ");
	printf("%d\n", strcmp("A", "A"));

	printf("strcmp(\" A\", \"B\")");
	printf("%d\n", strcmp("B", "A"));

	printf("strcmp(\"C\", \"A\") is ");
	printf("%d\n", strcmp("C", "A"));

	printf("strcmp(\"Z\", \"a\") is ");			
	printf("%d\n", strcmp("Z", "a"));

	printf("strcmp(\"apples\", \"apple\") is ");
	printf("%d\n", strcmp("apples", "apples"));
}
